#ifndef _VIDEO_H
#define _VIDEO_H

#define VID_WIDTH  80
#define VID_HEIGHT 25
/*
VGA color table: 16 bit for up to 16 different colors
-----------------------------------------------------
0  BLACK          8   DARK GREY
1  BLUE           9   LIGHT BLUE
2  GREEN          10  LIGHT GREEN
3  CYAN           11  LIGHT CYAN
4  RED            12  LIGHT RED
5  MAGENTA        13  LIGHT MAGENTA
6  BROWN          14  LIGHT BROWN
7  LIGHT GREY     15  WHITE
*/


extern void vid_scroll (void);
extern void vid_move_cursor (void);
extern void vid_clear (void);
extern void vid_init (void);
extern void putch (unsigned char c);
extern void vid_set_color (unsigned char forecolor, unsigned char backcolor);
extern void vid_set_color_reset ();
extern int gotox (unsigned to_x);
extern int gotoy (unsigned to_y);
extern int gotoxy (unsigned to_x, unsigned to_y);

#endif
